package org.jeecg.basic.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 产品主数据
 * @Author: LiCY
 * @Date: 2023-06-16
 * @Version: V1.0
 */
@Data
@TableName("mes_bom_header_setup")
@ApiModel(value = "mes_bom_header_setup对象", description = "产品主数据")
public class MesBomHeaderSetup implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 产品编码
     */
    @Excel(name = "产品编码", width = 15)
    @ApiModelProperty(value = "产品编码")
    @TableId
    private String partno;
    /**
     * 版本号
     */
    @Excel(name = "版本号", width = 15)
    @ApiModelProperty(value = "版本号")
    private String rev;
    /**
     * 英文描述
     */
    @Excel(name = "英文描述", width = 15)
    @ApiModelProperty(value = "英文描述")
    private String descEn;
    /**
     * 本地描述
     */
    @Excel(name = "本地描述", width = 15)
    @ApiModelProperty(value = "本地描述")
    private String descLocal;
    /**
     * 客户零件号
     */
    @Excel(name = "客户零件号", width = 15)
    @ApiModelProperty(value = "客户零件号")
    private String custPartno;
    /**
     * MES描述
     */
    @Excel(name = "MES描述", width = 15)
    @ApiModelProperty(value = "MES描述")
    private String descMes;
    /**
     * 图号
     */
    @Excel(name = "图号", width = 15)
    @ApiModelProperty(value = "图号")
    private String drawingno;
    /**
     * 产品分组
     */
    @Excel(name = "产品分组", width = 15)
    @ApiModelProperty(value = "产品分组")
    private String pnGroup;
    /**
     * 产品ID
     */
    @Excel(name = "产品ID", width = 15)
    @ApiModelProperty(value = "产品ID")
    private java.math.BigDecimal parttypeid;
    /**
     * 更新时间
     */
    @Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date ctime;
}
